package com.ju.demo.service;

import com.ju.demo.bo.ExchangeTeamInfo;
import com.ju.demo.constant.ResultCodeConstant;
import com.ju.demo.dto.ExchangeTeamDTO;
import com.ju.demo.entity.ExchangeTeam;

import java.util.List;

public interface ExchangeTeamService2 {
    //查
    public List<ExchangeTeam> findTeamsByTime(String date);

    public ExchangeTeamInfo findTeamByID(Integer id,String date);

    //增
    public ResultCodeConstant addExchangeTeam(ExchangeTeamDTO exchangeTeamInfo);

    //删
    public ResultCodeConstant deleteExchangeTeam(Integer id);

    //改
    public ResultCodeConstant updateExchangeTeam(Integer id,ExchangeTeamDTO exchangeTeamInfo);
}
